package ooday05_2;

import java.util.Arrays;

public class EnumTest {
    public static void main(String[] args) {
        Seasons a = Seasons.SPRING;
        System.out.println(Seasons.SPRING);
        String[] a1 = new String[5];

        Seasons[] seasons = Seasons.values();
        for (int i=0;i<seasons.length;i++){
            System.out.println(seasons[i].toString());
            System.out.println(seasons[i].getSeasonName());
            System.out.println(seasons[i].getSeasonDesc());
        }
        String[] a3 = new String[3];
        String[] a4 = new String[3];
        Arrays.copyOf(a3,2);
    }
}
